package org.liquidByte.trafficMustang.androidApp.services.proxy;

import org.liquidByte.trafficMustang.androidApp.proxy.Proxy;
import org.liquidByte.trafficMustang.androidApp.proxy.ProxyRuntimeException;
import org.liquidByte.trafficMustang.androidApp.proxy.RemoteException;
import org.liquidByte.trafficMustang.androidApp.services.MainService;
import org.liquidByte.trafficMustang.androidApp.services.dto.MainDTO;
import org.liquidByte.trafficMustang.androidApp.services.dto.UpdatesDTO;

public class MainProxy extends Proxy implements MainService {

	@Override
	public MainDTO alternarPerfil() throws RemoteException,
			ProxyRuntimeException {
		return this.invoke("main/alternarPerfil", MainDTO.class);
	}

	@Override
	public MainDTO get() throws RemoteException, ProxyRuntimeException {
		return this.invoke("main/get", MainDTO.class);
	}

	@Override
	public UpdatesDTO getUpdates() throws RemoteException, ProxyRuntimeException {
		return this.invoke("main/getUpdates", UpdatesDTO.class);
	}

}
